package org.example.service;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.pojo.User;
import org.example.utils.Result;

/**
 * @author 宋孟林
 * @description
 */
public interface UserService extends IService<User> {
    Result<Object> login(User user);

    User getUserInfo(String token);

    boolean checkUserName(String userName);

    Result<Object> register(User user);
}
